package com.zqxx.examine.portal.persistence;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.zqxx.examine.common.utils.Page;
import com.zqxx.examine.model.training.Training;
import com.zqxx.examine.model.training.TrainingSection;
import com.zqxx.examine.model.training.TrainingSectionProcess;
import com.zqxx.examine.model.training.UserTrainingHistory;

public abstract interface TrainingMapper
{
  public abstract List<Training> getTrainingList(@Param("page") Page<Training> paramPage);
  
  public abstract List<TrainingSection> getTrainingSectionByTrainingId(@Param("trainingId") int paramInt, @Param("page") Page<TrainingSection> paramPage);
  
  public abstract List<TrainingSection> getTrainingSectionById(@Param("sectionId") int paramInt, @Param("page") Page<TrainingSection> paramPage);
  
  public abstract UserTrainingHistory getTrainingHistBySectionId(@Param("sectionId") int paramInt1, @Param("userId") int paramInt2);
  
  public abstract void setUserTrainingHistory(UserTrainingHistory paramUserTrainingHistory);
  
  public abstract List<TrainingSectionProcess> getTrainingSectionProcessListByUserId(@Param("userId") int paramInt, @Param("page") Page<TrainingSectionProcess> paramPage);
}
